import { BaseEntity } from '@cool-midway/core';
import { Column, Entity, Index } from 'typeorm';

/**
 * anchorDynamic模块-动态信息
 */
@Entity('anchor_dynamic_type')
export class AnchorDynamicTypeEntity extends BaseEntity {
  @Index()
  @Column({ comment: '动态id', length: 100 })
  dynamicId: string;

  @Column({ comment: '用户id', length: 100 })
  userId: string;
  
}
